package com.cardbaobao.cardbabyclient.model.database;

/**
 * Created by jiangzx on 2017/3/24.
 */

public class SQL {
    public static final int DB_VERSION=1;
    public static final String DB_NAME="cbb";

    //表名
    /**已读消息表*/
    public static final String TABLE_HAVE_READ_MESSAGE="have_read_message";
    /**红包申请记录表*/
    public static final String TABLE_RED_ENVELOPES_RECORD="red_envelopes_record";
    /**启动页广告点击表*/
    public static final String TABLE_LAUNCHER_AD_CLICKED="launcher_ad_clicked";
    /**创建已读消息表*/
    static final String CREATE_TABLE_HAVE_READ_MESSAGE="CREATE TABLE "+TABLE_HAVE_READ_MESSAGE+"(id integer primary key)";
    /**创建红包申请记录表*/
    static final String CREATE_TABLE_RED_ENVELOPES_RECORD="CREATE TABLE "+TABLE_RED_ENVELOPES_RECORD+"(id text primary key,time integer)";
    /**创建首页广告点击表*/
    static final String CREATE_TABLE_LAUNCHER_AD_CLICKED="CREATE TABLE "+TABLE_LAUNCHER_AD_CLICKED+"(url text)";
}
